<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template("content","header"); ?>

            <!-- Right side column. Contains the navbar and content of the page -->
            <aside class="right-side" id="mainbody">
                <!-- Content Header (Page header) -->
                <section class="content-header">
                    <h1>首页</h1>
                    <ol class="breadcrumb">
                        <li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
                        <li class="active">仪表盘</li>
                    </ol>
                </section>

                <!-- Main content -->
                <section class="content">

                    <!-- Small boxes (Stat box) -->
                    <div class="row">
                     
        <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=b43f1459ac702900c8d44c91a5e796dd&action=category&catid=0&num=25&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'0','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'25',));}?>
			<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
			   <div class="col-lg-3 col-xs-6">
                            <!-- small box -->
                            <div class="small-box bg-aqua">
                                <div class="inner">
                                    <h3>
                                        <?php echo $r['items'];?>
                                    </h3>
                                    <p>
                                        <?php echo $r['catname'];?>
                                    </p>
                                </div>
                                <div class="icon">
                                    <i class="fa <?php echo $r['caticon'];?>"></i>
                                </div>
                                <a href="#" class="small-box-footer">
                                    详细信息 <i class="fa fa-arrow-circle-right"></i>
                                </a>
                            </div>
                        </div><!-- ./col -->
			  <!--<li>
                    <a href="<?php echo $r['url'];?>">
                        <i class="fa <?php echo $r['caticon'];?>"></i> <span><?php echo $r['catname'];?></span> 
                        <?php if($r[items]>0) { ?>                    
                        <small class="badge pull-right bg-yellow"><?php echo $r['items'];?></small>
                    	<?php } ?>
                    </a>
            </li>		-->
			<?php $n++;}unset($n); ?>

            </ul>
        <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>    
                      

                    </div><!-- /.row -->

                    <!-- Main row -->
                    <div class="row">
                        <!-- Left col -->
                        <section class="col-lg-7 connectedSortable">                            


                   
                      
                            <!-- quick email widget -->
                   
                        </section><!-- /.Left col -->
                        <!-- right col (We are only adding the ID to make the widgets sortable)-->
                        <section class="col-lg-5 connectedSortable"> 

                     
                            <!-- /.box -->

                            <!-- solid sales graph -->
                            <div class="box box-solid bg-teal-gradient">
                                <div class="box-header">
                                    <i class="fa fa-th"></i>
                                    <h3 class="box-title">系统信息</h3>
                                    <div class="box-tools pull-right">
                                        <button class="btn bg-teal btn-sm" data-widget="collapse"><i class="fa fa-minus"></i></button>
                                        <!--<button class="btn bg-teal btn-sm" data-widget="remove"><i class="fa fa-times"></i></button>-->
                                    </div>
                                </div>
                                <div class="box-body border-radius-none">
                                      <div class="list-group">

  <a href="#" class="list-group-item"><b>系统名称：</b><?php echo L('ename');?>-<?php echo L('cname');?></a>
  <a href="#" class="list-group-item"><b>系统版本：</b><?php echo L('version');?></a>
  <a href="#" class="list-group-item"><b>功能：</b>电器文档的在线管理，K值编码计算，电器共在线交流。</a>

</div>                       </div><!-- /.box-body -->
                               
                                </div><!-- /.box-footer -->
                            </div><!-- /.box -->                            
				
					<div class="box col-lg-12 col-xs-12">
						<div class="box-header">
							<h3 class="box-title">友情链接(By <a href="https://github.com/lipis/bootstrap-social">Lipis</a>)</h3>
						</div>
						<div class="box-body">
							<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"link\" data=\"op=link&tag_md5=6e8387caf604e454f4c35e23268dc7d1&action=type_list&siteid=%24siteid&linktype=1&order=listorder+DESC&num=8&return=pic_link\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$link_tag = pc_base::load_app_class("link_tag", "link");if (method_exists($link_tag, 'type_list')) {$pic_link = $link_tag->type_list(array('siteid'=>$siteid,'linktype'=>'1','order'=>'listorder DESC','limit'=>'8',));}?> <?php $n=1;if(is_array($pic_link)) foreach($pic_link AS $v) { ?>
				
							<a href="<?php echo $v['url'];?>" class="btn  btn-social btn-bitbucket <?php echo $v['color'];?>" target="_blank">
								<i  title="<?php echo $v['name'];?>" target="_blank" class="fa <?php echo $v['icon'];?>"></i> <?php echo $v['name'];?>
							</a>
				
							<?php $n++;}unset($n); ?> <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
				
						</div>
					
				</div> 

                        </section><!-- right col -->
                    </div><!-- /.row (main row) -->

                </section><!-- /.content -->
            </aside><!-- /.right-side -->
        </div><!-- ./wrapper -->

        <!-- add new calendar event modal -->


    </body>
</html>